package com.briup.cms.dao;

import com.briup.cms.bean.Carousel;
import com.briup.cms.bean.Comment;
import com.briup.cms.exception.CustomerException;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;
@Mapper
public interface CommentMapper {

    List<Comment> findAll();

    void updateCommentByStatus(int id,int status)throws CustomerException;

    void deleteById(int id) throws CustomerException;

    //Carousel findById(int id) throws CustomerException;
    Comment findById(int id) throws CustomerException;

}
